GET api/list/pm/events?pageSize={pageSize}&pageNumber={pageNumber}&accountIds[0]={accountIds[0]}&accountIds[1]={accountIds[1]}&tenancyRoleId={tenancyRoleId}&order={order}

Returns a list of Events in PM

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageSize

integer

Default value is 20

pageNumber

integer

Default value is 1

accountIds

Collection of integer

None.

tenancyRoleId

integer

None.

order

Dezrez.Core.DataContracts.External.Api.Lists.ListOrder

Default value is Ascending

Body Parameters

None.

Response Information

Resource Description

PagedCollectionDataContractOfDezrez.Core.DataContracts.External.Api.Lists.Accounting.AccountingEventDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of Dezrez.Core.DataContracts.External.Api.Lists.Accounting.AccountingEventDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "AccountId": 3,
      "Description": "sample string 4",
      "CreatedDate": "2024-05-08T22:29:51.6068502Z",
      "EventType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "CreatedById": 6
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "AccountId": 3,
      "Description": "sample string 4",
      "CreatedDate": "2024-05-08T22:29:51.6068502Z",
      "EventType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "CreatedById": 6
    }
  ]
}